package cn.tedu.spring.eg22;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMapper {
    public static void main(String[] args) {
        ApplicationContext context=new AnnotationConfigApplicationContext("cn.tedu.spring.eg22");
        commentMapper bean = context.getBean(commentMapper.class);
        System.out.println(bean);

    }
}
